package Feb_14.TestThread;

public class TestMyThread implements Runnable{
    String name;
    int num;

    public TestMyThread(String name,int num) {
        this.name =name;
        this.num =num;
    }

    @Override
    public void run(){
        for (int i=num;i<=100;i+=2){
            System.out.println("线程"+name+","+i);
        }
    }
}